package shipNuking;

public class Ship {
	private int length;
	private int hits = 0;
	
	public int getLength(){
		return this.length;
	}
	public void setLength(int a){
		this.length = a;
	}
	public int getHits(){
		return this.hits;
	}
	public void shoot(){
		this.hits++;
	}
	
}
